package com.vehicle.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.vehicle.bean.PageVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 保养记录
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MaintainRecord extends PageVo {
    private Integer maintainid;//保养记录id
    private Car cars;//车辆id  需要改关联
    private Maintain maintains;//保养类型id  需要改关联
    @JSONField(format = "yyyy-MM-dd")
    private Date maintaintime;//保养时间
    private Double maintainprice;//保养价格
    private Btype btypes;//往来单位id  需要改关联
    private Integer maintainkm;//保养里程
    private Integer next_maintainkm;//下次保养里程
    @JSONField(format = "yyyy-MM-dd")
    private Date next_maintaintime;//下次保养时间
    private Driver driver;//驾驶员id 需要改关联
    private String remark;//备注
}